/** {
   border: 1px solid red !important;
}*/

html {
/*    background: url("../resources/images/bg_body.png") repeat-y scroll center top #ACACAE;*/
    color: #4D4D4D;
    font: 11px/16px Verdana,Arial,Helvetica,sans-serif;
}

body {
    background: url("../resources/images/bg_header-transparent.png") repeat-x scroll left top transparent;
    min-width: 984px;
    text-align: center;
    border-collapse:separate;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

#page-wrap {
    margin: 0 auto;
    text-align: left;
    width: 984px;
}

#header {
    height: 120px;    
    position: relative;
}

#container1 {
    margin: 0 auto;
    text-align: left;
    width: 984px;
}

#logo {
    left: 0;
    position: absolute;
    top: 39px;
}

#container2 {
    height: 22px;
    position: absolute;
    top: 0;
    width: 100%;
}

#footer {
    background: url("../resources/images/bg_dotted.gif") repeat-x scroll left top transparent;
    font-size: 84.6%;
    line-height: 18px;
    padding: 7px;
    text-align: left;
    margin-top: 20px;
}


.size1 {
    width: 100%;
    display: inline-block;
}

.table1 thead th{
    padding:15px;
    color:#fff;
    text-shadow:1px 1px 1px #568F23;
    border:1px solid #93CE37;
    border-bottom:3px solid #9ED929;
    background-color:#9DD929;
    background:-webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.02, rgb(123,192,67)),
        color-stop(0.51, rgb(139,198,66)),
        color-stop(0.87, rgb(158,217,41))
        );
    background: -moz-linear-gradient(
        center bottom,
        rgb(123,192,67) 2%,
        rgb(139,198,66) 51%,
        rgb(158,217,41) 87%
        );
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -moz-border-radius:5px 5px 0px 0px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
}

.table1 thead th:empty{
    background:transparent;
    border:none;
}

.table1 tfoot td{
    color: #9CD009;
    font-size:32px;
    text-align:center;
    padding:10px 0px;
    text-shadow:1px 1px 1px #444;
}
.table1 tfoot th{
    color:#666;
}

.table1 tbody td{
    padding:10px;
    text-align:center;
    background-color:#DEF3CA;
    border: 2px solid #E7EFE0;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    color:#666;
    text-shadow:1px 1px 1px #fff;
}

.table1 tbody span.check:before{
    content : url("../images/icons/check0.png")
}


/*#----------------------*/

.scroller span {
    padding-top: 15px;
    padding-bottom: 15px;
    text-shadow:1px 1px 1px #568F23;
    border:1px solid #93CE37;
    border-bottom:3px solid #9ED929;
    background-color:#9DD929;
    cursor: pointer;
    background:-webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.02, rgb(123,192,67)),
        color-stop(0.51, rgb(139,198,66)),
        color-stop(0.87, rgb(158,217,41))
        );
    background: -moz-linear-gradient(
        center bottom,
        rgb(123,192,67) 2%,
        rgb(139,198,66) 51%,
        rgb(158,217,41) 87%
        );
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -moz-border-radius:5px 5px 0px 0px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    display: inline-block;
}

.scroller a {
    padding:15px;
    color:#fff;
    text-shadow:1px 1px 1px #568F23;
    border:1px solid #93CE37;
    border-bottom:3px solid #9ED929;
    background-color:#9DD929;
    cursor: pointer;
    background:-webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.02, rgb(123,192,67)),
        color-stop(0.51, rgb(139,198,66)),
        color-stop(0.87, rgb(158,217,41))
        );
    background: -moz-linear-gradient(
        center bottom,
        rgb(123,192,67) 2%,
        rgb(139,198,66) 51%,
        rgb(158,217,41) 87%
        );
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -moz-border-radius:5px 5px 0px 0px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    display: inline-block;
}

#searchInput {
    background-color: #DEF3CA;
    color: #666666;    
    border: 0 none;
    float: left;
    width: 220px; 
    height: 17px;
    display: block;
    padding: 0;
    outline: medium none;

}

#imageInputWrapper { 
    background-color: #DEF3CA;
    width:237px;     
    display: inline-block;
    border:solid 1px #8ED929;
    padding: 5px;
    height: 17px;
    -webkit-border-radius:5px 5px 5px 5px;
    -moz-border-radius:5px 5px 5px 5px;
    border-radius:5px 5px 5px 5px;
}

.round {
    -webkit-border-radius:5px 5px 5px 5px;
    -moz-border-radius:5px 5px 5px 5px;
    border-radius:5px 5px 5px 5px;
}

input.button {
    -webkit-border-radius:5px 5px 5px 5px;
    -moz-border-radius:5px 5px 5px 5px;
    border-radius:5px 5px 5px 5px;
    background-color: #8ED929;
    border: 0 none;
    padding: 15px 50px;
    cursor: pointer;
    display: block;
    font-size: 16px;
}
#magnifier {
    background: url("../images/webappers/Search.ico") repeat scroll 0 0 transparent;
    cursor: pointer;
    float: left;
    height: 17px;
    width: 17px;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
    border-left: 60px solid green;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right:10px solid blue;
}

.flash_notice, .flash_message {
    background: url("/images/refinery/icons/accept.png") no-repeat scroll 7px 7px #E0F5E0;
    border: 1px solid #00A017;
    color: #00A017;
}

#message, .flash {
    margin-bottom: 15px;
    padding: 8px 8px 8px 30px;
    position: relative;
}

#content .field, #content .form-actions {
    width: 100%;
    position: relative;
}

acronym {
    cursor: help;
}

label[for] {
    cursor: pointer;
}

#dialog_container #content .field {
    width: auto;
    margin:5px 0;
}

input.widest, textarea.widest {
    width: 99%;
}

input.wider, textarea.wider {
    width: 50%;
}
input.largest {
    height: 40px;
}

input.larger {
    height: 31px;
}
input.nicer {
    border:solid 1px #8ED929;
    background-color: #DEF3CA;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    color:#666666;
    text-shadow:1px 1px 1px #fff;
    padding: 15px;
    font-size: larger;
}


body.login #site_bar_content a#site_bar_refinery_cms_logo {
    left: 247px;
}
#page_container .login #page h1 {
    margin: 0;
    padding: 5px;
    font-size: 20px;
    line-height:22px
}
body.login #page_container div.remember_me label, label.inline {
    display: inline;
}
body.login #page_container div.actions {
    margin-top: 12px;
}
body.login label {
    margin-top: 0px;
}
body.login, div.field {
    margin-bottom: 20px;
}
body.login .field.remember_me, body.login .field.forgot_password {
    margin-bottom: 0px;
    margin-top: 0px;
}
body.login .field.forgot_password {
    text-align: right;
}
body.login .field.remember_me label {
    margin-top: 20px;
}
body.login #page_container div.remember_me {
    width: 300px;
    float: left;
}
body.login #page_container div.forgot_password {
    float: right;
    width: 250px;
}
body.login label, body.login a {
    font-size: 14px;
}
body.login #flash_container, body.login .errorExplanation {
    margin-bottom: 12px;
}
div.field.checkbox_access ul.checkboxes li {
    margin-top: 3px;
}
div.field.checkbox_access {
    margin-top: 20px;
}
body.login .field.remember_me label {
    margin-top: 20px;
}
body.login #page_container div.remember_me {
    width: 300px;
    float: left;
}
body.login #page_container div.forgot_password {
    float: right;
    width: 250px;
}
body.login label, body.login a {
    font-size: 14px;
}
body.login #flash_container, body.login .errorExplanation {
    margin-bottom: 12px;
}
div.field.checkbox_access ul.checkboxes li {
    margin-top: 3px;
}
div.field.checkbox_access {
    margin-top: 20px;
}
div.field.checkbox_access .label_with_help a {
    font-weight: normal;
}
div.twodivcols {
    overflow: auto;
    width: 100%;
}

div.left {
    width: 30%;
    float: left;
    padding-left: 190px;
}

div.right {
    width: 30%;
    float: right;
    padding-right: 120px;
}

div.form-actions-left {
    padding-top: 20px;
    padding-right: 315px;
}

/** products table col width **/
.column1 { width: 35%; }
.column2 { width: 15%; }
.column3 { width: 10%; }
.column4 { width: 10%; }
.column5 { width: 10%; }
.column6 { width: 10%; }
.column7 { width: 5%; }
/** products table col width **/

/** inline modal popup css**/

#fade { /*--Transparent background layer--*/
    display: none; /*--hidden by default--*/
    background: #000;
    position: fixed; left: 0; top: 0;
    width: 100%; height: 100%;
    opacity: .80;
    z-index: 9999;
}
.popup_block{
    display: none; /*--hidden by default--*/
    background: #fff;
    padding: 20px;
    border: 20px solid #ddd;
    float: left;
    font-size: 1.2em;
    position: fixed;
    top: 50%; left: 50%;
    z-index: 99999;
    /*--CSS3 Box Shadows--*/
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
    /*--CSS3 Rounded Corners--*/
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
img.btn_close {
    float: right;
    margin: -55px -55px 0 0;
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
    position: absolute;
}
*html .popup_block {
    position: absolute;
}

/** inline modal popup css**/

/** forms **/

div.form-container {
    width: 560px;
    padding: 20px;
    height: auto;
}
fieldset {
    -moz-border-radius: 7px;
    border: 1px #dddddd solid;
    padding: 10px;
    width: 550px;
    margin-top: 10px;
}

fieldset legend {
    border: 1px #1a6f93 solid;
    font-size: 120%;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    -moz-border-radius: 3px;
}


div.form-row {
    clear: both;
    width: 470px;
    padding: 10px;
}

div.form-label {
    width: 140px;
    margin: 0px;
    padding: 0px;
    float: left;
    text-align: right;
}

div.form-data {
    width: 300px;
    margin: 0px;
    padding: 0px;
    float: right;
    text-align: left;
} 

.form-container input {
    padding: 0 4px;
    border-left: 2px solid white;
    width: 193px;
    border: 1px solid #DBDBDB;
    height: 18px;
    vertical-align: middle;
}

.mandatory {
    color: red;
    font-weight: bolder;
}

.form-error {
    background: none repeat scroll 0 0 #EE0101;
    border: 2px solid #DDDDDD;
    moz-border-radius: 6px 6px 6px 6px;
    webkit-border-radius: 6px 6px 6px 6px;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 6px #000000;
    color: #FFFFFF;
    padding: 4px 10px;
    width: 150px;
}